class Fib:

    def __init__(self, num):
        self.result = []
        self.num = num
        a = 0
        b = 1
        for item in range(num):
            self.result.append(item)
            a, b = b, a + b

    def __str__(self):
        return str(self.result)

    def __len__(self):
        return self.num
    # def __call__(self, *args, **kwargs):
    #     return "call"


fib = Fib(10)
